<?php
/**
 *
 *
 *
 */
class Yz_Form_Element_NotEditable
    extends Yz_Form_Element_Input
{

    protected $isParseable = false;

    /**
     *
     */
    public function render(Yz_Template_Interface $template)
    {
        $val = $this->value instanceof Yz_Item_Interface
            ? $this->value->getTitle()
            : (string)$this->value;
        $o = <<<html
            <span>{$val}</span>\n
html;
        return $o;
    }

}
